import java.util.Base64;

/**
 * ClassName:Main <br/>
 * description:  <br/>
 * Date:     2019/5/13、17:57 <br/>
 *
 * @author Plank
 */
public class Main {
    public static void main(String[] args) {
        String str = "oauth-client:123456";
        System.out.println(new String(Base64.getEncoder().encode(str.getBytes())));
    }
}
